package com.qf.sturedis.pojo;

import lombok.Data;

@Data
public class R {
    private String msg;
    private boolean flag;
    private Object data;

    public static R success(Object data){
        R r = new R();
        r.setFlag(true);
        r.setData(data);
        return r;
    }
}
